#pragma once


// AlchemyListDlg dialog

#include <utility/EventHandler.h>

namespace serika
{
	namespace dq
	{
		class Alchemy;

		class AlchemyListDlg : public CDialog, public ut::EventHandler
		{
			DECLARE_DYNAMIC(AlchemyListDlg)

		public:
			AlchemyListDlg(CWnd* pParent = NULL);   // standard constructor
			virtual ~AlchemyListDlg();

			// Dialog Data
			enum { IDD = IDD_ALCHEMYLISTDLG };

			virtual void Handle(const ut::Event& e);

		protected:
			virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
			virtual BOOL OnInitDialog();

			DECLARE_MESSAGE_MAP()
			afx_msg void OnMouseMove(UINT nFlags, CPoint point);

		private:
			CListCtrl mList;

			void InsertAlchemy(Alchemy* alchemy);
		};
	}
}

